<%@ page import="com.diapoclic.entitybean.*, com.diapoclic.entitymanager.*, java.util.List,java.util.ArrayList" language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
 	    <div id="page">
      <%@ include file="header.jsp"%>

      
	 <div id="highlightholder">
	 <div id="navbar">
	  
	 </div> 
	<div id="highlightcontents">
	  <div class="title">
	    <div class="main">DiapoClic</div>
	    <div class="tag">Partagez vos photos en ligne avec votre famille et vos amis.</div>
	  </div>

	  <div id="products">
		<div class="box">
		<p>Choisissez les albums et/ ou les photos que vous voulez supprimer</p>
		<table>
			<tr>
				<td>
					<table id="itsthetable">
						<tr>
							<th>Albums</th>
							<th>Choix</th>
						</tr>
						<%UserManager userMana= new UserManager(); %>
						<% for (Folder it : (List<Folder>)request.getAttribute("folderlist")) { %>
						<tr>
							<td><%=it.getNameFolder() %></td>
							<td>
								<form id="checkbox" action="supprimerPhotosAlbums" method="post">
									<input type="checkbox" name="folder" value="<%=it.getIdFolder()%>">
							</td>
						</tr>
						<% } %>
					</table>
				</td>
				<td>
					<table id="itsthetable">
						<tr>
							<th>Miniatures</th>
							<th>Photos</th>
							<th>Choix</th>
						</tr>
							<%FolderManager forlerMana= new FolderManager(); %>
						<% for (Document it : (List<Document>)request.getAttribute("documentlist")) { %>
						<tr>
							<td><img src="<%=it.getPath()%>" alt="Mini" height="50" weight="50" /></td>
							<td><%=it.getNameDoc()%></td>
							<td>
									<input type="checkbox" name="photos" value="<%=it.getIdDoc()%>">
							</td>
						</tr>
						<% } %>
					</table>
				</td>
			</tr>
		</table>
		<input type="submit" value="Supprimer">
		</form>
		</div>
		
	  </div> <!-- #products -->

	  <div style="clear: left"></div>
	</div> <!-- #highlightcontents -->
      </div>
    </div> <!-- #page -->
    <div id="footer">
      <%@ include file="footer.jsp"%>
    </div>
</body>
</html>